<commit_before>﻿using Microsoft.VisualStudio.TestTools.UnitTesting;
using SearchAThing.Sci;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SearchAThing.Sci.Tests
{
    [TestClass()]
    public class Line3DTests
    {
        [TestMethod()]
        public void Line3DTest()
        {
            var l = new Line3D(new Vector3D(1, 2, 3), new Vector3D(4, 5, 6));
            Assert.IsTrue(l.From.EqualsTol(1e-1, 1, 2, 3));
            Assert.IsTrue(l.From.EqualsTol(1e-1, 4, 5, 6));
        }

        [TestMethod()]
        public void Line3DTest1()
        {
            var l = new Line3D(new Vector3D(1, 2, 3), new Vector3D(4, 5, 6), Line3DConstructMode.PointAndVector);
            Assert.IsTrue(l.From.EqualsTol(1e-1, 1, 2, 3));
            Assert.IsTrue(l.To.EqualsTol(1e-1, 1 + 4, 2 + 5, 3 + 6));
        }

        [TestMethod()]
        public void Line3DTest2()
        {
            Assert.Fail();
        }

        [TestMethod()]
        public void Line3DTest3()
        {
            Assert.Fail();
        }

        [TestMethod()]
        public void EqualsTolTest()
        {
            Assert.Fail();
        }

        [TestMethod()]
        public void CommonPointTest()
        {
            Assert.Fail();
        }

        [TestMethod()]
        public void ReverseTest()
        {
            Assert.Fail();
        }

        [TestMethod()]
        public void ScaleTest()
        {
            Assert.Fail();
        }

        [TestMethod()]
        public void LineContainsPointTest()
        {
            Assert.Fail();
        }

        [TestMethod()]<commit_msg>tests<commit_after>﻿using Microsoft.VisualStudio.TestTools.UnitTesting;
using SearchAThing.Sci;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SearchAThing.Sci.Tests
{
    [TestClass()]
    public class Line3DTests
    {
        [TestMethod()]
        public void Line3DTest()
        {
            var l = new Line3D(new Vector3D(1, 2, 3), new Vector3D(4, 5, 6));
            Assert.IsTrue(l.From.EqualsTol(1e-1, 1, 2, 3));
            Assert.IsTrue(l.From.EqualsTol(1e-1, 4, 5, 6));
        }

        [TestMethod()]
        public void Line3DTest1()
        {
            var l = new Line3D(new Vector3D(1, 2, 3), new Vector3D(4, 5, 6), Line3DConstructMode.PointAndVector);
            Assert.IsTrue(l.From.EqualsTol(1e-1, 1, 2, 3));
            Assert.IsTrue(l.To.EqualsTol(1e-1, 1 + 4, 2 + 5, 3 + 6));
        }

        [TestMethod()]
        public void Line3DTest2()
        {
            var l = new Line3D(1, 2, 3, 4);
            Assert.IsTrue(l.From.EqualsTol(1e-1, 1, 2, 0));
            Assert.IsTrue(l.To.EqualsTol(1e-1, 3, 4, 0));
        }

        [TestMethod()]
        public void Line3DTest3()
        {
            var l = new Line3D(1, 2, 3, 4, 5, 6);
            Assert.IsTrue(l.From.EqualsTol(1e-1, 1, 2, 3));
            Assert.IsTrue(l.From.EqualsTol(1e-1, 4, 5, 6));
        }

        [TestMethod()]
        public void EqualsTolTest()
        {
            var l = new Line3D(1, 2, 3, 4, 5, 6);
            Assert.IsTrue(l.EqualsTol(1e-1, new Line3D(new Vector3D(1, 2, 3), new Vector3D(4, 5, 6))));
        }

        [TestMethod()]
        public void CommonPointTest()
        {
            Assert.Fail();
        }

        [TestMethod()]
        public void ReverseTest()
        {
            Assert.Fail();
        }

        [TestMethod()]
        public void ScaleTest()
        {
            Assert.Fail();
        }

        [TestMethod()]
        public void LineContainsPointTest()
        {
            Assert.Fail();
        }

        [TestMethod()]
{'fraction_non_alphanumeric': 0.13463076512929886, 'fraction_numerical': 0.03998933617701946, 'mean_word_length': 1.6647727272727273, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '195091', 'n_tokens_mistral': 1318, 'n_tokens_neox': 1247, 'n_words': 259}