2011-09-17 18:41:28 -07:00
|
|
|
import unittest
|
|
|
|
|
|
|
|
import numpy as np
|
|
|
|
|
|
|
|
from interp.grid.delaunay import dgrid
|
|
|
|
from interp.tools import baker_exact_3D, exact_me, improved_answer
|
|
|
|
|
2011-09-27 14:23:42 -07:00
|
|
|
points = np.array([[0.11428445, 0.28754022, 0.21450866],
|
|
|
|
[0.70777361, 0.97113801, 0.70142999],
|
|
|
|
[0.9678696, 0.8752588, 0.61011066],
|
|
|
|
[0.28114508, 0.56494346, 0.10472855],
|
|
|
|
[0.87320653, 0.60442285, 0.77830118],
|
|
|
|
[0.54868101, 0.06763191, 0.36992336],
|
|
|
|
[0.74785868, 0.01445301, 0.36157087],
|
|
|
|
[0.37893801, 0.2798186, 0.66882913],
|
|
|
|
[0.40288033, 0.43632989, 0.68307495],
|
|
|
|
[0.05443145, 0.69825395, 0.75788844],
|
|
|
|
[0.72652183, 0.46143234, 0.92496808],
|
|
|
|
[0.98215309, 0.74919871, 0.26359922],
|
|
|
|
[0.64446603, 0.03215349, 0.71585739],
|
|
|
|
[0.74583664, 0.17934764, 0.48514102],
|
|
|
|
[0.02953106, 0.26222083, 0.84447849],
|
|
|
|
[0.92558287, 0.86491041, 0.00388493],
|
|
|
|
[0.48458751, 0.18263645, 0.10020616],
|
|
|
|
[0.50691704, 0.29474261, 0.05317139],
|
|
|
|
[0.13503481, 0.45742548, 0.89879376],
|
|
|
|
[0.42092092, 0.50429495, 0.93224069],
|
|
|
|
[0.38495379, 0.6395474, 0.67431922],
|
|
|
|
[0.10397544, 0.05895451, 0.9875192],
|
|
|
|
[0.06942965, 0.86935731, 0.29390551],
|
|
|
|
[0.08325816, 0.37391508, 0.94985739],
|
|
|
|
[0.70791782, 0.62839051, 0.80202258],
|
|
|
|
[0.49957473, 0.84219751, 0.88040138],
|
|
|
|
[0.91766782, 0.48387821, 0.08503156],
|
|
|
|
[0.36803798, 0.3877998, 0.24104388],
|
|
|
|
[0.1526318, 0.01782609, 0.04233187],
|
|
|
|
[0.24389489, 0.35547378, 0.86487884],
|
|
|
|
[0.79969989, 0.86603222, 0.12417413],
|
|
|
|
[0.07748739, 0.40214123, 0.26731593],
|
|
|
|
[0.22738297, 0.71726456, 0.26570381],
|
|
|
|
[0.05918811, 0.07212692, 0.55623921],
|
|
|
|
[0.36451404, 0.58232176, 0.71326058],
|
|
|
|
[0.1194748, 0.30536944, 0.06718068],
|
|
|
|
[0.15832267, 0.8887553, 0.72702744],
|
|
|
|
[0.64205779, 0.63270873, 0.84104407],
|
|
|
|
[0.6598406, 0.64223508, 0.4446435],
|
|
|
|
[0.27005486, 0.92531167, 0.41231729],
|
|
|
|
[0.32309501, 0.36187601, 0.29635482],
|
|
|
|
[0.82053702, 0.18239855, 0.31045463],
|
|
|
|
[0.89756268, 0.40578409, 0.24500909],
|
|
|
|
[0.91924702, 0.84409983, 0.52950817],
|
|
|
|
[0.45169706, 0.8790168, 0.65692569],
|
|
|
|
[0.96988179, 0.45284828, 0.98161877],
|
|
|
|
[0.67214891, 0.43246417, 0.36161494],
|
|
|
|
[0.91771824, 0.13570763, 0.30358442],
|
|
|
|
[0.00856081, 0.46164223, 0.89603726],
|
|
|
|
[0.95545709, 0.17282928, 0.83199973],
|
|
|
|
[0.56650153, 0.89603536, 0.45668853],
|
|
|
|
[0.9542778, 0.12299014, 0.41592707],
|
|
|
|
[0.06352572, 0.94850064, 0.33634642],
|
|
|
|
[0.93951017, 0.43484399, 0.37270086],
|
|
|
|
[0.67236423, 0.16673231, 0.82524789],
|
|
|
|
[0.84371993, 0.41819289, 0.28587838],
|
|
|
|
[0.61771884, 0.84808589, 0.22994513],
|
|
|
|
[0.17655356, 0.76040647, 0.66896936],
|
|
|
|
[0.39594309, 0.30225809, 0.56655642],
|
|
|
|
[0.26509525, 0.48602892, 0.4414201],
|
|
|
|
[0.01230335, 0.47860405, 0.43923575],
|
|
|
|
[0.92014909, 0.99002187, 0.3740484],
|
|
|
|
[0.88845505, 0.68630333, 0.37397556],
|
|
|
|
[0.11044038, 0.28907405, 0.51466146],
|
|
|
|
[0.11092469, 0.20020453, 0.75125346],
|
|
|
|
[0.27536249, 0.60320668, 0.6360586],
|
|
|
|
[0.94241002, 0.00823361, 0.05984616],
|
|
|
|
[0.24263625, 0.93050725, 0.54862345],
|
|
|
|
[0.12049839, 0.16584759, 0.94799531],
|
|
|
|
[0.43141746, 0.77530968, 0.89400203],
|
|
|
|
[0.43453017, 0.72250458, 0.30855848],
|
|
|
|
[0.58327876, 0.30410605, 0.21529569],
|
|
|
|
[0.6906952, 0.88501704, 0.33122977],
|
|
|
|
[0.59582838, 0.23855177, 0.25562364],
|
|
|
|
[0.84408793, 0.7565708, 0.18566003],
|
|
|
|
[0.71847225, 0.78348879, 0.01394492],
|
|
|
|
[0.2157923, 0.0878241, 0.53304275],
|
|
|
|
[0.65077817, 0.73134788, 0.47375731],
|
|
|
|
[0.15480248, 0.04877231, 0.84551572],
|
|
|
|
[0.18828918, 0.34674004, 0.11989061],
|
|
|
|
[0.78564365, 0.30275406, 0.09642356],
|
|
|
|
[0.82960515, 0.73738278, 0.24500901],
|
|
|
|
[0.63381853, 0.78702512, 0.44869516],
|
|
|
|
[0.60875909, 0.38448521, 0.11101309],
|
|
|
|
[0.25896923, 0.86776042, 0.99926272],
|
|
|
|
[0.44865064, 0.47424466, 0.51402304],
|
|
|
|
[0.44738627, 0.413574, 0.58787803],
|
|
|
|
[0.42558597, 0.18098633, 0.44647855],
|
|
|
|
[0.6197636, 0.40172899, 0.82633434],
|
|
|
|
[0.19667605, 0.9592378, 0.31371263],
|
|
|
|
[0.44543992, 0.36630682, 0.96721493],
|
|
|
|
[0.00113251, 0.74157699, 0.83322406],
|
|
|
|
[0.02975107, 0.82937627, 0.80524179],
|
|
|
|
[0.39907603, 0.53267979, 0.53531684],
|
|
|
|
[0.8342222, 0.9169928, 0.81969662],
|
|
|
|
[0.13888135, 0.67287953, 0.45754592],
|
|
|
|
[0.4873301, 0.02399868, 0.79007014],
|
|
|
|
[0.48908379, 0.01660648, 0.88531733],
|
|
|
|
[0.06064489, 0.15676077, 0.57462736],
|
|
|
|
[0.46347854, 0.50204698, 0.92260013],
|
|
|
|
[0.30769454, 0.91413535, 0.71872948],
|
|
|
|
[0.54766355, 0.99080514, 0.23629655],
|
|
|
|
[0.29504561, 0.69239956, 0.11541326],
|
|
|
|
[0.06638065, 0.44583771, 0.40993712],
|
|
|
|
[0.78546547, 0.39669903, 0.70850067],
|
|
|
|
[0.57490847, 0.01931911, 0.95229857],
|
|
|
|
[0.36478595, 0.51095616, 0.4450777],
|
|
|
|
[0.27962055, 0.5670248, 0.73430206],
|
|
|
|
[0.08512962, 0.92858697, 0.16280465],
|
|
|
|
[0.35404686, 0.26061171, 0.90922437],
|
|
|
|
[0.36088532, 0.67658412, 0.3225552],
|
|
|
|
[0.21179329, 0.78877855, 0.52533685],
|
|
|
|
[0.72919654, 0.30032783, 0.35231397],
|
|
|
|
[0.98164664, 0.14363536, 0.70022392],
|
|
|
|
[0.52173619, 0.80860274, 0.50831038],
|
|
|
|
[0.38294836, 0.0077242, 0.73545865],
|
|
|
|
[0.88265733, 0.43355191, 0.20679372],
|
|
|
|
[0.90846836, 0.51886944, 0.38919361],
|
|
|
|
[0.92039147, 0.66254952, 0.65083492],
|
|
|
|
[0.70248187, 0.10121166, 0.89420336],
|
|
|
|
[0.89448921, 0.88377854, 0.46296508],
|
|
|
|
[0.35057331, 0.12859417, 0.02405395],
|
|
|
|
[0.99091684, 0.54648747, 0.03855661],
|
|
|
|
[0.26477678, 0.84030298, 0.5826511],
|
|
|
|
[0.14283269, 0.30983103, 0.76758542],
|
|
|
|
[0.95578979, 0.17808405, 0.33390006],
|
|
|
|
[0.09878404, 0.22161407, 0.65968794],
|
|
|
|
[0.04496103, 0.66141433, 0.16798657],
|
|
|
|
[0.15300491, 0.48347774, 0.6682864],
|
|
|
|
[0.55398838, 0.2255844, 0.93903814],
|
|
|
|
[0.93418825, 0.5798594, 0.34924861],
|
|
|
|
[0.01206828, 0.44051883, 0.63147375],
|
|
|
|
[0.08048752, 0.70924834, 0.36574764],
|
|
|
|
[0.03811209, 0.44101423, 0.49884509],
|
|
|
|
[0.25834782, 0.285216, 0.53779596],
|
|
|
|
[0.08286716, 0.54884676, 0.68121547],
|
|
|
|
[0.33114584, 0.88198676, 0.05239509],
|
|
|
|
[0.52021315, 0.39683866, 0.01958944],
|
|
|
|
[0.5346457, 0.3208056, 0.97108723],
|
|
|
|
[0.83061204, 0.93356032, 0.96897258],
|
|
|
|
[0.05889601, 0.70904536, 0.44104923],
|
|
|
|
[0.07462807, 0.84525455, 0.34993083],
|
|
|
|
[0.48488828, 0.46994987, 0.96958491],
|
|
|
|
[0.32887091, 0.24984721, 0.95274392],
|
|
|
|
[0.63767616, 0.92965522, 0.10237799],
|
|
|
|
[0.49871957, 0.26920321, 0.70434029],
|
|
|
|
[0.39157118, 0.94955504, 0.82837017],
|
|
|
|
[0.06765164, 0.41670636, 0.72200918],
|
|
|
|
[0.70059481, 0.49756779, 0.46352713],
|
|
|
|
[0.08052346, 0.61639639, 0.4593064],
|
|
|
|
[0.10818914, 0.57868752, 0.71973356],
|
|
|
|
[0.40348071, 0.19272991, 0.16592194],
|
|
|
|
[0.28363091, 0.57535216, 0.44429315],
|
|
|
|
[0.75365971, 0.71266981, 0.03868309],
|
|
|
|
[0.51947089, 0.94139858, 0.85375824],
|
|
|
|
[0.6766548, 0.82881477, 0.8703148],
|
|
|
|
[0.68752048, 0.43760109, 0.91788514],
|
|
|
|
[0.88613803, 0.25815193, 0.43004132],
|
|
|
|
[0.0711505, 0.95922552, 0.98028043],
|
|
|
|
[0.92867615, 0.90462079, 0.39398929],
|
|
|
|
[0.08362741, 0.60099744, 0.37111534],
|
|
|
|
[0.43225975, 0.88763986, 0.37462851],
|
|
|
|
[0.79141353, 0.04286447, 0.66726792],
|
|
|
|
[0.73481258, 0.59783624, 0.17572802],
|
|
|
|
[0.57333482, 0.96357899, 0.96003897],
|
|
|
|
[0.83047634, 0.47608051, 0.50263645],
|
|
|
|
[0.85347717, 0.58236307, 0.7207615],
|
|
|
|
[0.89777838, 0.49916738, 0.27265369],
|
|
|
|
[0.68280261, 0.09290443, 0.30109173],
|
|
|
|
[0.9878491, 0.93869086, 0.6727351],
|
|
|
|
[0.35485635, 0.60949548, 0.21609126],
|
|
|
|
[0.34635366, 0.86408416, 0.39524511],
|
|
|
|
[0.97950109, 0.71812176, 0.43523289],
|
|
|
|
[0.64266844, 0.50752522, 0.73489014],
|
|
|
|
[0.39180608, 0.88879724, 0.47496461],
|
|
|
|
[0.61528696, 0.36905619, 0.20571338],
|
|
|
|
[0.1127475, 0.9128665, 0.44155376],
|
|
|
|
[0.95724559, 0.24756928, 0.2607367],
|
|
|
|
[0.41791504, 0.84469929, 0.39939267],
|
|
|
|
[0.74388422, 0.66235586, 0.81131033],
|
|
|
|
[0.37932042, 0.69045085, 0.58836298],
|
|
|
|
[0.73719145, 0.39579154, 0.23579967],
|
|
|
|
[0.37476006, 0.79731359, 0.56031142],
|
|
|
|
[0.31958019, 0.007173, 0.87112861],
|
|
|
|
[0.51975653, 0.10882906, 0.07873865],
|
|
|
|
[0.35340201, 0.64909491, 0.06403942],
|
|
|
|
[0.93534716, 0.94533048, 0.11982437],
|
|
|
|
[0.86698716, 0.85551581, 0.2783717],
|
|
|
|
[0.39499489, 0.82911438, 0.05733287],
|
|
|
|
[0.97447428, 0.55624938, 0.83910733],
|
|
|
|
[0.13165963, 0.72821714, 0.24942724],
|
|
|
|
[0.69517782, 0.35198517, 0.95367201],
|
|
|
|
[0.15686505, 0.99539642, 0.59536263],
|
|
|
|
[0.81638613, 0.04210342, 0.67956965],
|
|
|
|
[0.51276658, 0.49898216, 0.31611387],
|
|
|
|
[0.75131854, 0.69203237, 0.56034405],
|
|
|
|
[0.39104193, 0.83395827, 0.94807817],
|
|
|
|
[0.83844197, 0.94169047, 0.26600553],
|
|
|
|
[0.89733342, 0.53859321, 0.61937296],
|
|
|
|
[0.96853806, 0.73128574, 0.40330592],
|
|
|
|
[0.5070264, 0.43343222, 0.3635949],
|
|
|
|
[0.39727622, 0.82369162, 0.82189471],
|
|
|
|
[0.83683305, 0.085911, 0.2639984],
|
|
|
|
[0.97090014, 0.57191923, 0.78291546],
|
|
|
|
[0.67482888, 0.88438681, 0.28726635],
|
|
|
|
[0.05018135, 0.42041414, 0.19598002],
|
|
|
|
[0.51830459, 0.68016794, 0.21600904],
|
|
|
|
[0.13329734, 0.92823392, 0.53344032],
|
|
|
|
[0.44175237, 0.4605472, 0.68868582],
|
|
|
|
[0.16221553, 0.19372445, 0.06682256],
|
|
|
|
[0.74308626, 0.48589129, 0.14384904],
|
|
|
|
[0.21029357, 0.94665144, 0.69065138],
|
|
|
|
[0.5695598, 0.74219977, 0.98037558],
|
|
|
|
[0.98196821, 0.27363747, 0.19857137],
|
|
|
|
[0.13639529, 0.34283267, 0.49383934],
|
|
|
|
[0.40597902, 0.06641372, 0.83344091],
|
|
|
|
[0.71656007, 0.04308679, 0.22327167],
|
|
|
|
[0.51679895, 0.16594224, 0.29388427],
|
|
|
|
[0.11714028, 0.31346426, 0.8475076],
|
|
|
|
[0.15368224, 0.33216081, 0.28493318],
|
|
|
|
[0.45084027, 0.50034009, 0.56994194],
|
|
|
|
[0.42733257, 0.39342123, 0.23455195],
|
|
|
|
[0.71993897, 0.42549182, 0.80396288],
|
|
|
|
[0.01024557, 0.21484421, 0.97359862],
|
|
|
|
[0.49792668, 0.35542579, 0.14729147],
|
|
|
|
[0.37033584, 0.90457688, 0.48734477],
|
|
|
|
[0.28959816, 0.57044438, 0.76050406],
|
|
|
|
[0.63550706, 0.82154029, 0.22960342],
|
|
|
|
[0.96325459, 0.83165502, 0.758824],
|
|
|
|
[0.07454867, 0.66210279, 0.60950114],
|
|
|
|
[0.49525635, 0.65310899, 0.67517005],
|
|
|
|
[0.59761197, 0.45232364, 0.68222993],
|
|
|
|
[0.07795876, 0.97449963, 0.34139297],
|
|
|
|
[0.5543566, 0.08232214, 0.92329903],
|
|
|
|
[0.82661172, 0.45661475, 0.77993866],
|
|
|
|
[0.85781657, 0.63839761, 0.52146219],
|
|
|
|
[0.97943727, 0.00871552, 0.83213468],
|
|
|
|
[0.97123395, 0.95484052, 0.7370685],
|
|
|
|
[0.88582694, 0.7589797, 0.22312631],
|
|
|
|
[0.9129248, 0.51863879, 0.17922221],
|
|
|
|
[0.61886516, 0.31741678, 0.63708073],
|
|
|
|
[0.4736423, 0.79910521, 0.16488899],
|
|
|
|
[0.14787432, 0.42327434, 0.30586353],
|
|
|
|
[0.4172034, 0.39362806, 0.25948712],
|
|
|
|
[0.80631174, 0.33970678, 0.22991874],
|
|
|
|
[0.08039674, 0.64024303, 0.19719062],
|
|
|
|
[0.41975393, 0.40719244, 0.18973031],
|
|
|
|
[0.67728546, 0.86719246, 0.14061594],
|
|
|
|
[0.17306185, 0.84162507, 0.27212007],
|
|
|
|
[0.82794997, 0.21770941, 0.9077298],
|
|
|
|
[0.79311973, 0.58638865, 0.71152166],
|
|
|
|
[0.31594555, 0.48083258, 0.41032454],
|
|
|
|
[0.27958489, 0.25132611, 0.97273063],
|
|
|
|
[0.19547671, 0.01177584, 0.2121902],
|
|
|
|
[0.79646729, 0.25026237, 0.04238325],
|
|
|
|
[0.55876564, 0.62290133, 0.65515278],
|
|
|
|
[0.98298942, 0.92178019, 0.56972796],
|
|
|
|
[0.66192302, 0.90206951, 0.37520991],
|
|
|
|
[0.56210811, 0.68020856, 0.21245914],
|
|
|
|
[0.4545708, 0.11178424, 0.26732248],
|
|
|
|
[0.25569326, 0.68091849, 0.79840122],
|
|
|
|
[0.5591885, 0.50551625, 0.17488911],
|
|
|
|
[0.21416424, 0.41424965, 0.45079625],
|
|
|
|
[0.10099885, 0.10636645, 0.30473792],
|
|
|
|
[0.38094704, 0.71112226, 0.62888858],
|
|
|
|
[0.53907299, 0.20392918, 0.27247397],
|
|
|
|
[0.04364007, 0.02013828, 0.44662197],
|
|
|
|
[0.86052463, 0.76011118, 0.51361045],
|
|
|
|
[0.65020728, 0.94438629, 0.77890062],
|
|
|
|
[0.59598794, 0.86259667, 0.78133959],
|
|
|
|
[0.75774941, 0.7066554, 0.58444382],
|
|
|
|
[0.59409531, 0.40305576, 0.70292307],
|
|
|
|
[0.99939588, 0.43263567, 0.91299638],
|
|
|
|
[0.41864003, 0.84765473, 0.24266005],
|
|
|
|
[0.72385558, 0.17339891, 0.9438488],
|
|
|
|
[0.24515218, 0.289084, 0.28748968],
|
|
|
|
[0.49859351, 0.46372133, 0.18096462],
|
|
|
|
[0.15017168, 0.17989514, 0.24885726],
|
|
|
|
[0.69353842, 0.9908098, 0.79267305],
|
|
|
|
[0.71162625, 0.56245142, 0.28610138],
|
|
|
|
[0.10423372, 0.37465052, 0.04243339],
|
|
|
|
[0.08155656, 0.81886886, 0.23270234],
|
|
|
|
[0.84661905, 0.54304361, 0.35376332],
|
|
|
|
[0.81633062, 0.69422451, 0.59648949],
|
|
|
|
[0.32920637, 0.57585371, 0.6756407],
|
|
|
|
[0.08207756, 0.81229271, 0.6724037],
|
|
|
|
[0.11544481, 0.3333505, 0.67070043],
|
|
|
|
[0.47770986, 0.93733297, 0.22730252],
|
|
|
|
[0.92435147, 0.98041132, 0.39735754],
|
|
|
|
[0.76605498, 0.17285125, 0.52239393],
|
|
|
|
[0.33066159, 0.47149598, 0.80642634],
|
|
|
|
[0.57308888, 0.76493001, 0.74759425],
|
|
|
|
[0.45780705, 0.19735262, 0.21373684],
|
|
|
|
[0.7114183, 0.0531067, 0.16217512],
|
|
|
|
[0.60885551, 0.34667153, 0.33519708],
|
|
|
|
[0.37674983, 0.10423878, 0.18345471],
|
|
|
|
[0.7900269, 0.68404106, 0.07913541],
|
|
|
|
[0.65954281, 0.17644536, 0.68727359],
|
|
|
|
[0.51849291, 0.38892724, 0.46023856],
|
|
|
|
[0.03880228, 0.54487748, 0.12552077],
|
|
|
|
[0.89025506, 0.38212033, 0.27500116],
|
|
|
|
[0.26561815, 0.2935733, 0.06296461],
|
|
|
|
[0.97120202, 0.78193064, 0.09989714],
|
|
|
|
[0.75217957, 0.7067728, 0.29665447],
|
|
|
|
[0.67225096, 0.39169631, 0.83406842],
|
|
|
|
[0.97313044, 0.96917734, 0.82943615],
|
|
|
|
[0.39912202, 0.40385783, 0.60791707],
|
|
|
|
[0.20864476, 0.83656895, 0.38569753],
|
|
|
|
[0.74629931, 0.91464275, 0.79205266],
|
|
|
|
[0.58799217, 0.84129248, 0.52485717],
|
|
|
|
[0.49626858, 0.99342168, 0.85723668],
|
|
|
|
[0.44179121, 0.67859599, 0.42947105],
|
|
|
|
[0.69434486, 0.03275922, 0.78378302],
|
|
|
|
[0.3437196, 0.17875298, 0.08170036],
|
|
|
|
[0.5551284, 0.86399479, 0.07532155],
|
|
|
|
[0.46442421, 0.06901228, 0.0915534],
|
|
|
|
[0.36626952, 0.62621483, 0.58090994],
|
|
|
|
[0.94389259, 0.26844818, 0.34257046],
|
|
|
|
[0.60063392, 0.94410353, 0.12007917],
|
|
|
|
[0.6876256, 0.40948439, 0.56799762],
|
|
|
|
[0.77292527, 0.85623345, 0.96604685],
|
|
|
|
[0.41086593, 0.30321843, 0.1940882],
|
|
|
|
[0.24507739, 0.15378191, 0.97496406],
|
|
|
|
[0.67921838, 0.11169023, 0.84051264],
|
|
|
|
[0.19055213, 0.45794932, 0.98465811],
|
|
|
|
[0.37926691, 0.48481444, 0.73218577],
|
|
|
|
[0.75394773, 0.79016572, 0.51596521],
|
|
|
|
[0.00896122, 0.5171287, 0.39853509],
|
|
|
|
[0.52798644, 0.03888124, 0.19829634],
|
|
|
|
[0.00869413, 0.56768634, 0.34893429],
|
|
|
|
[0.615313, 0.70823616, 0.61730355],
|
|
|
|
[0.86701525, 0.29948947, 0.55404462],
|
|
|
|
[0.45815849, 0.9804982, 0.65170624],
|
|
|
|
[0.16313177, 0.89063537, 0.49337913],
|
|
|
|
[0.34291028, 0.17580395, 0.79886289],
|
|
|
|
[0.07125311, 0.20254425, 0.06946597],
|
|
|
|
[0.05129371, 0.42917736, 0.4152199],
|
|
|
|
[0.69578899, 0.8346906, 0.74885487],
|
|
|
|
[0.7659193, 0.11328032, 0.15451784],
|
|
|
|
[0.94756885, 0.11279052, 0.69796226],
|
|
|
|
[0.45408162, 0.15884869, 0.59367818],
|
|
|
|
[0.60572836, 0.70104822, 0.2189406],
|
|
|
|
[0.47303755, 0.5282143, 0.01983065],
|
|
|
|
[0.69718414, 0.82247368, 0.39495836],
|
|
|
|
[0.2689603, 0.42134546, 0.51328072],
|
|
|
|
[0.50722373, 0.46366182, 0.67454857],
|
|
|
|
[0.86904155, 0.84563547, 0.37754717],
|
|
|
|
[0.25240041, 0.73475975, 0.65598385],
|
|
|
|
[0.47306169, 0.51207824, 0.27288438],
|
|
|
|
[0.78319335, 0.95621156, 0.80399167],
|
|
|
|
[0.16893686, 0.76652759, 0.07663632],
|
|
|
|
[0.49497387, 0.32369158, 0.3755829],
|
|
|
|
[0.74461309, 0.74355377, 0.83855198],
|
|
|
|
[0.36692332, 0.68521923, 0.12274681],
|
|
|
|
[0.9542574, 0.76347737, 0.05358422],
|
|
|
|
[0.76981045, 0.82456149, 0.54138801],
|
|
|
|
[0.35244305, 0.1008039, 0.34889897],
|
|
|
|
[0.18389316, 0.82602775, 0.05302258],
|
|
|
|
[0.2970617, 0.04795647, 0.7598214],
|
|
|
|
[0.20235818, 0.51695988, 0.64702214],
|
|
|
|
[0.26292108, 0.63850411, 0.41783859],
|
|
|
|
[0.3334563, 0.03273507, 0.88846568],
|
|
|
|
[0.84896155, 0.333599, 0.50311305],
|
|
|
|
[0.56448553, 0.45171843, 0.50840164],
|
|
|
|
[0.91613533, 0.53890878, 0.56899432],
|
|
|
|
[0.62234921, 0.62566902, 0.60233196],
|
|
|
|
[0.6567573, 0.47773579, 0.35437743],
|
|
|
|
[0.58272389, 0.84405274, 0.33642513],
|
|
|
|
[0.98720896, 0.46994603, 0.14122819],
|
|
|
|
[0.90370349, 0.6066483, 0.80559079],
|
|
|
|
[0.8213855, 0.17734014, 0.86071354],
|
|
|
|
[0.33385176, 0.66414091, 0.39810718],
|
|
|
|
[0.79847844, 0.95630675, 0.96845683],
|
|
|
|
[0.55020898, 0.83317331, 0.86345988],
|
|
|
|
[0.57213082, 0.93533572, 0.03318047],
|
|
|
|
[0.37693315, 0.2046101, 0.8826104],
|
|
|
|
[0.83679955, 0.33648953, 0.13434055],
|
|
|
|
[0.28940684, 0.65766682, 0.67043082],
|
|
|
|
[0.14823319, 0.83490829, 0.82285682],
|
|
|
|
[0.53851192, 0.27332618, 0.8831613],
|
|
|
|
[0.7800924, 0.50427052, 0.55882125],
|
|
|
|
[0.72893187, 0.21545744, 0.46418792],
|
|
|
|
[0.91121036, 0.45329721, 0.5506712],
|
|
|
|
[0.52833112, 0.72210696, 0.76510073],
|
|
|
|
[0.92317032, 0.41828402, 0.12528281],
|
|
|
|
[0.42806924, 0.47873046, 0.00551461],
|
|
|
|
[0.30501259, 0.63550897, 0.93436055],
|
|
|
|
[0.64639993, 0.90157605, 0.2771209],
|
|
|
|
[0.46699447, 0.12215957, 0.05933725],
|
|
|
|
[0.8724217, 0.40034235, 0.11763133],
|
|
|
|
[0.42406925, 0.81843279, 0.35588085],
|
|
|
|
[0.14084697, 0.41798189, 0.48306897],
|
|
|
|
[0.86021119, 0.43069072, 0.19594051],
|
|
|
|
[0.67615034, 0.00627199, 0.81614084],
|
|
|
|
[0.11702696, 0.70627365, 0.83372509],
|
|
|
|
[0.05517062, 0.18103756, 0.9897032],
|
|
|
|
[0.05155223, 0.74457987, 0.46403967],
|
|
|
|
[0.24458139, 0.01478542, 0.35559397],
|
|
|
|
[0.30272422, 0.73802432, 0.75105409],
|
|
|
|
[0.01961649, 0.35276868, 0.7176617],
|
|
|
|
[8.31953992e-05, 5.36497387e-01, 2.45732347e-01],
|
|
|
|
[0.69009972, 0.17198502, 0.94885348],
|
|
|
|
[0.83416436, 0.93423411, 0.20224932],
|
|
|
|
[0.73354879, 0.55304612, 0.74857456],
|
|
|
|
[0.47201593, 0.19286831, 0.7321385],
|
|
|
|
[0.75445717, 0.68385887, 0.62718597],
|
|
|
|
[0.23482156, 0.04803817, 0.11475897],
|
|
|
|
[0.56148153, 0.26003511, 0.88596371],
|
|
|
|
[0.51717579, 0.57060682, 0.03310363],
|
|
|
|
[0.10968152, 0.70874816, 0.23136306],
|
|
|
|
[0.71758322, 0.38647709, 0.8666606],
|
|
|
|
[0.55279216, 0.46644217, 0.97213434],
|
|
|
|
[0.59684679, 0.04011174, 0.49723409],
|
|
|
|
[0.12314879, 0.12638804, 0.79102968],
|
|
|
|
[0.03767979, 0.87212051, 0.51774464],
|
|
|
|
[0.24046628, 0.62340265, 0.96645732],
|
|
|
|
[0.49347792, 0.54677126, 0.13504578],
|
|
|
|
[0.93635744, 0.67681528, 0.33474007],
|
|
|
|
[0.06700725, 0.2619556, 0.32045309],
|
|
|
|
[0.00467952, 0.80504107, 0.68182898],
|
|
|
|
[0.20488722, 0.46725178, 0.17506841],
|
|
|
|
[0.46125528, 0.1920148, 0.40554079],
|
|
|
|
[0.64263778, 0.73254155, 0.51563572],
|
|
|
|
[0.21635234, 0.69777414, 0.46418407],
|
|
|
|
[0.98486687, 0.47925729, 0.50841017],
|
|
|
|
[0.45991386, 0.22205548, 0.04419327],
|
|
|
|
[0.1826409, 0.14824229, 0.31107605],
|
|
|
|
[0.81153195, 0.03078419, 0.33333279],
|
|
|
|
[0.60328754, 0.7139961, 0.76173011],
|
|
|
|
[0.27366253, 0.97499961, 0.50417019],
|
|
|
|
[0.29038538, 0.96194744, 0.02181561],
|
|
|
|
[0.10296678, 0.88892515, 0.72218871],
|
|
|
|
[0.03819813, 0.56289173, 0.51428479],
|
|
|
|
[0.86355337, 0.46875028, 0.39542982],
|
|
|
|
[0.13863023, 0.64068525, 0.88029322],
|
|
|
|
[0.00723053, 0.99828156, 0.12081058],
|
|
|
|
[0.01355671, 0.37231734, 0.26951655],
|
|
|
|
[0.78348288, 0.42153221, 0.31524643],
|
|
|
|
[0.91753343, 0.21132327, 0.01174511],
|
|
|
|
[0.41555535, 0.52417226, 0.20061341],
|
|
|
|
[0.62426143, 0.26079331, 0.95312888],
|
|
|
|
[0.55402154, 0.06427541, 0.72623569],
|
|
|
|
[0.89260853, 0.78402897, 0.45385724],
|
|
|
|
[0.72364473, 0.24911599, 0.33533136],
|
|
|
|
[0.41270802, 0.24556276, 0.50557525],
|
|
|
|
[0.64804153, 0.01018382, 0.54748903],
|
|
|
|
[0.36531065, 0.75280136, 0.20428265],
|
|
|
|
[0.51649226, 0.06324295, 0.94332469],
|
|
|
|
[0.08577286, 0.42158314, 0.76604844],
|
|
|
|
[0.30418369, 0.15429819, 0.51919052],
|
|
|
|
[0.92825826, 0.86323743, 0.85141578],
|
|
|
|
[0.03121946, 0.18360261, 0.4317755],
|
|
|
|
[0.61607526, 0.7954351, 0.51968015],
|
|
|
|
[0.85065006, 0.77496826, 0.17560412],
|
|
|
|
[0.92457524, 0.70261723, 0.69317415],
|
|
|
|
[0.37538014, 0.64276173, 0.0230389],
|
|
|
|
[0.45586476, 0.50778269, 0.04435454],
|
|
|
|
[0.72168718, 0.77121135, 0.82992891],
|
|
|
|
[0.31143444, 0.29254436, 0.57780255],
|
|
|
|
[0.27525872, 0.23174335, 0.515169],
|
|
|
|
[0.64357232, 0.55353622, 0.34310174],
|
|
|
|
[0.99969868, 0.84022261, 0.6835174],
|
|
|
|
[0.663730, 0.50890979, 0.22126423],
|
|
|
|
[0.17609186, 0.40599717, 0.21219534],
|
|
|
|
[0.41194042, 0.81643934, 0.5071791],
|
|
|
|
[0.79273471, 0.43139493, 0.97951786],
|
|
|
|
[0.49711834, 0.49381621, 0.57127123],
|
|
|
|
[0.63227227, 0.74327911, 0.42359113],
|
|
|
|
[0.6824215, 0.99998879, 0.3637269],
|
|
|
|
[0.67872676, 0.97027966, 0.06275051],
|
|
|
|
[0.64782364, 0.92781546, 0.93340409],
|
|
|
|
[0.51910648, 0.56801865, 0.23891279],
|
|
|
|
[0.58881882, 0.42797416, 0.73922559],
|
|
|
|
[0.3171556, 0.50268915, 0.35770316],
|
|
|
|
[0.5973177, 0.35415414, 0.04928594],
|
|
|
|
[0.95345328, 0.18526324, 0.21656488],
|
|
|
|
[0.24522031, 0.86576369, 0.44147017],
|
|
|
|
[0.09434889, 0.7545125, 0.6625463],
|
|
|
|
[0.0684397, 0.31552184, 0.6059753],
|
|
|
|
[0.82650775, 0.43853563, 0.07056523],
|
|
|
|
[0.91979501, 0.97409381, 0.3458569],
|
|
|
|
[0.95235812, 0.75190195, 0.01692071],
|
|
|
|
[0.73573244, 0.51780601, 0.29205644],
|
|
|
|
[0.94136587, 0.73130695, 0.44673476],
|
|
|
|
[0.55201461, 0.55248193, 0.27236406],
|
|
|
|
[0.0414285, 0.22266489, 0.36111983],
|
|
|
|
[0.66245229, 0.35102836, 0.46111258],
|
|
|
|
[0.20512585, 0.0605446, 0.99267818],
|
|
|
|
[0.19123913, 0.52332183, 0.5243823],
|
|
|
|
[0.61187438, 0.92115757, 0.39485882],
|
|
|
|
[0.01256712, 0.93099858, 0.13666872],
|
|
|
|
[0.22041498, 0.61223607, 0.39025338],
|
|
|
|
[0.66939902, 0.5389902, 0.33448012],
|
|
|
|
[0.03006311, 0.62956754, 0.05601643],
|
|
|
|
[0.76475781, 0.02374136, 0.30709354],
|
|
|
|
[0.32853839, 0.89563138, 0.05547597],
|
|
|
|
[0.67655073, 0.76310697, 0.17343671],
|
|
|
|
[0.54020302, 0.82457075, 0.59749165],
|
|
|
|
[0.7275342, 0.01339622, 0.76906675],
|
|
|
|
[0.32684972, 0.15658321, 0.50589544],
|
|
|
|
[0.6527482, 0.31391306, 0.16052398],
|
|
|
|
[0.05895049, 0.38073457, 0.70681497],
|
|
|
|
[0.29606458, 0.31674172, 0.98857832],
|
|
|
|
[0.55597768, 0.86556338, 0.13190724],
|
|
|
|
[0.41765988, 0.48763327, 0.88711438],
|
|
|
|
[0.79400103, 0.52413952, 0.85481583],
|
|
|
|
[0.22965195, 0.41543183, 0.66926719],
|
|
|
|
[0.80226627, 0.76580523, 0.70039412],
|
|
|
|
[0.96154801, 0.38143342, 0.37522244],
|
|
|
|
[0.22923226, 0.93180125, 0.71918504],
|
|
|
|
[0.19739758, 0.73800846, 0.12972195],
|
|
|
|
[0.22486581, 0.3338672, 0.84142154],
|
|
|
|
[0.97035022, 0.59573416, 0.2160906],
|
|
|
|
[0.06644898, 0.30093916, 0.24732186],
|
|
|
|
[0.86118589, 0.8553938, 0.5845959],
|
|
|
|
[0.09161083, 0.59936658, 0.74609052],
|
|
|
|
[0.63866623, 0.74206816, 0.0923507],
|
|
|
|
[0.37728458, 0.82892709, 0.05149142],
|
|
|
|
[0.66851409, 0.12400118, 0.29283437],
|
|
|
|
[0.48608412, 0.59857586, 0.95911664],
|
|
|
|
[0.10741508, 0.67519999, 0.46544263],
|
|
|
|
[0.39407738, 0.42796376, 0.88278555],
|
|
|
|
[0.74134023, 0.71253941, 0.4705098],
|
|
|
|
[0.08398209, 0.34066505, 0.69752768],
|
|
|
|
[0.93552888, 0.20496773, 0.21373137],
|
|
|
|
[0.49536616, 0.26235505, 0.26544809],
|
|
|
|
[0.30913359, 0.97946593, 0.24685935],
|
|
|
|
[0.13100022, 0.42057943, 0.09406099],
|
|
|
|
[0.70447357, 0.20843206, 0.9644283],
|
|
|
|
[0.57520627, 0.38604834, 0.92646348],
|
|
|
|
[0.96742517, 0.54671905, 0.83745607],
|
|
|
|
[0.99782545, 0.74061469, 0.02161892],
|
|
|
|
[0.72303196, 0.16523679, 0.85446238],
|
|
|
|
[0.58136718, 0.99440894, 0.04965713],
|
|
|
|
[0.21135685, 0.34748783, 0.89970982],
|
|
|
|
[0.66827802, 0.41363045, 0.81152199],
|
|
|
|
[0.48918434, 0.29966614, 0.54211251],
|
|
|
|
[0.34270963, 0.26631767, 0.62831404],
|
|
|
|
[0.94576651, 0.24726025, 0.23423675],
|
|
|
|
[0.15768743, 0.80726895, 0.59474513],
|
|
|
|
[0.15973991, 0.06414132, 0.34313743],
|
|
|
|
[0.54424479, 0.1677444, 0.47421717],
|
|
|
|
[0.80015699, 0.81210054, 0.33788773],
|
|
|
|
[0.5236081, 0.15235584, 0.30542754],
|
|
|
|
[0.68840016, 0.9298465, 0.68400321],
|
|
|
|
[0.53675438, 0.27982118, 0.52222856],
|
|
|
|
[0.7069242, 0.13278114, 0.63912365],
|
|
|
|
[0.14770042, 0.75304776, 0.88870523],
|
|
|
|
[0.61841213, 0.05651218, 0.82373034],
|
|
|
|
[0.68762681, 0.8392238, 0.77154145],
|
|
|
|
[0.93521424, 0.51661371, 0.25794686],
|
|
|
|
[0.75465978, 0.82874416, 0.25191876],
|
|
|
|
[0.92906057, 0.07389269, 0.59688578],
|
|
|
|
[0.11481849, 0.54793891, 0.51377512],
|
|
|
|
[0.4115514, 0.77709214, 0.04458858],
|
|
|
|
[0.73831477, 0.38779668, 0.39061257],
|
|
|
|
[0.82764904, 0.176906, 0.18857337],
|
|
|
|
[0.96702024, 0.37980501, 0.6129477],
|
|
|
|
[0.70569093, 0.69513828, 0.13252783],
|
|
|
|
[0.60251532, 0.14519101, 0.70408945],
|
|
|
|
[0.26624959, 0.12542334, 0.474913],
|
|
|
|
[0.49102243, 0.17624837, 0.09276594],
|
|
|
|
[0.9700702, 0.49844114, 0.59202283],
|
|
|
|
[0.33061014, 0.52283337, 0.20046494],
|
|
|
|
[0.90927826, 0.44476709, 0.57088695],
|
|
|
|
[0.18005633, 0.39104595, 0.9766727],
|
|
|
|
[0.25347879, 0.52808283, 0.77807388],
|
|
|
|
[0.74259744, 0.68876274, 0.82581056],
|
|
|
|
[0.17648245, 0.15279703, 0.172916],
|
|
|
|
[0.62058401, 0.52956692, 0.10869906],
|
|
|
|
[0.991824, 0.07585835, 0.48458978],
|
|
|
|
[0.05096868, 0.83794669, 0.1423359],
|
|
|
|
[0.2586166, 0.36873245, 0.31113518],
|
|
|
|
[0.18698945, 0.86995659, 0.39060329],
|
|
|
|
[0.36877929, 0.12795521, 0.92080404],
|
|
|
|
[0.48722291, 0.81952283, 0.16249591],
|
|
|
|
[0.50799851, 0.61639101, 0.54949292],
|
|
|
|
[0.00387233, 0.44314399, 0.37363285],
|
|
|
|
[0.7490133, 0.91845121, 0.33256422],
|
|
|
|
[0.58007147, 0.33036243, 0.08479776],
|
|
|
|
[0.2812765, 0.98171308, 0.29401896],
|
|
|
|
[0.08754, 0.25704502, 0.23741737],
|
|
|
|
[0.94811655, 0.29340896, 0.22098228],
|
|
|
|
[0.44771546, 0.08085693, 0.07879937],
|
|
|
|
[0.65109947, 0.14577166, 0.34717583],
|
|
|
|
[0.52217386, 0.02862468, 0.74279291],
|
|
|
|
[0.46618051, 0.17152552, 0.72395117],
|
|
|
|
[0.2528636, 0.30092964, 0.16894865],
|
|
|
|
[0.39694776, 0.068242, 0.16867146],
|
|
|
|
[0.6028895, 0.5886233, 0.37268477],
|
|
|
|
[0.8497786, 0.17037302, 0.52418225],
|
|
|
|
[0.27088035, 0.5389005, 0.3184646],
|
|
|
|
[0.4098653, 0.26890019, 0.34094644],
|
|
|
|
[0.83760131, 0.77521466, 0.88458594],
|
|
|
|
[0.17436044, 0.03076155, 0.51883537],
|
|
|
|
[0.06485011, 0.5346067, 0.17061819],
|
|
|
|
[0.24927351, 0.15579647, 0.82866257],
|
|
|
|
[0.28500984, 0.15112848, 0.26521927],
|
|
|
|
[0.02202599, 0.40108887, 0.52832473],
|
|
|
|
[0.36648523, 0.81707639, 0.71146222],
|
|
|
|
[0.14661758, 0.96599783, 0.26356277],
|
|
|
|
[0.98668318, 0.2104013, 0.04445586],
|
|
|
|
[0.36293771, 0.68160033, 0.47343853],
|
|
|
|
[0.84195183, 0.90126154, 0.47478365],
|
|
|
|
[0.95526299, 0.66084018, 0.06443983],
|
|
|
|
[0.741887, 0.87548354, 0.0108987],
|
|
|
|
[0.77819075, 0.8640824, 0.01672623],
|
|
|
|
[0.67037913, 0.01494849, 0.25590113],
|
|
|
|
[0.62535357, 0.77634504, 0.03653456],
|
|
|
|
[0.86447586, 0.8895867, 0.79404042],
|
|
|
|
[0.95157902, 0.25980313, 0.36873688],
|
|
|
|
[0.15978123, 0.33777443, 0.34176948],
|
|
|
|
[0.16465786, 0.27648664, 0.0621575],
|
|
|
|
[0.95251093, 0.94290378, 0.19154689],
|
|
|
|
[0.41032329, 0.30846926, 0.78561856],
|
|
|
|
[0.77134479, 0.12496467, 0.86627069],
|
|
|
|
[0.38688741, 0.65631043, 0.92861431],
|
|
|
|
[0.53073125, 0.56179854, 0.80139041],
|
|
|
|
[0.73571166, 0.67105306, 0.42946188],
|
|
|
|
[0.69127403, 0.15210726, 0.39984363],
|
|
|
|
[0.17547103, 0.92641013, 0.83293244],
|
|
|
|
[0.87779341, 0.72030509, 0.60557436],
|
|
|
|
[0.65014741, 0.68976408, 0.75864448],
|
|
|
|
[0.25003974, 0.56582066, 0.50730812],
|
|
|
|
[0.56361221, 0.380064, 0.91950398],
|
|
|
|
[0.43541373, 0.38792289, 0.73263785],
|
|
|
|
[0.18399162, 0.09042078, 0.59534553],
|
|
|
|
[0.64425769, 0.97166223, 0.43080985],
|
|
|
|
[0.42747943, 0.67165053, 0.24308805],
|
|
|
|
[0.21683477, 0.97319259, 0.133657],
|
|
|
|
[0.02517328, 0.30389141, 0.70031087],
|
|
|
|
[0.16664762, 0.42959745, 0.84431578],
|
|
|
|
[0.19693174, 0.09050546, 0.22037826],
|
|
|
|
[0.15815762, 0.09722252, 0.05325244],
|
|
|
|
[0.24314697, 0.08413286, 0.68688763],
|
|
|
|
[0.94548429, 0.2733848, 0.43405726],
|
|
|
|
[0.13233095, 0.97007205, 0.80787555],
|
|
|
|
[0.62069785, 0.29547903, 0.23910945],
|
|
|
|
[0.19077805, 0.81856444, 0.33703287],
|
|
|
|
[0.03029834, 0.52367521, 0.20055522],
|
|
|
|
[0.11583214, 0.14086189, 0.83061568],
|
|
|
|
[0.21152673, 0.45622485, 0.64740379],
|
|
|
|
[0.11613326, 0.73450387, 0.41551661],
|
|
|
|
[0.53649223, 0.48231046, 0.20103404],
|
|
|
|
[0.38610398, 0.84731368, 0.70520883],
|
|
|
|
[0.31743835, 0.02949162, 0.30026054],
|
|
|
|
[0.37113185, 0.85309989, 0.22797713],
|
|
|
|
[0.61470413, 0.41646439, 0.63572181],
|
|
|
|
[0.23500787, 0.32144253, 0.56497516],
|
|
|
|
[0.31514058, 0.18851014, 0.44732143],
|
|
|
|
[0.79246578, 0.63276557, 0.03680481],
|
|
|
|
[0.53341647, 0.27153094, 0.05830089],
|
|
|
|
[0.4988854, 0.31077184, 0.05108381],
|
|
|
|
[0.05519323, 0.56674634, 0.01724397],
|
|
|
|
[0.41538631, 0.31275569, 0.046934],
|
|
|
|
[0.93232701, 0.2003388, 0.8974547],
|
|
|
|
[0.04206223, 0.97530137, 0.91598294],
|
|
|
|
[0.62683615, 0.66420668, 0.74109397],
|
|
|
|
[0.50641212, 0.5598868, 0.63851914],
|
|
|
|
[0.89520431, 0.62837814, 0.74733198],
|
|
|
|
[0.5038953, 0.86339966, 0.03301781],
|
|
|
|
[0.14492735, 0.24345857, 0.46647571],
|
|
|
|
[0.31250339, 0.06471669, 0.45071419],
|
|
|
|
[0.87496734, 0.50775828, 0.71740848],
|
|
|
|
[0.41271302, 0.10951442, 0.43621543],
|
|
|
|
[0.29367022, 0.38468202, 0.8023381],
|
|
|
|
[0.68871279, 0.59588454, 0.81869577],
|
|
|
|
[0.9567951, 0.49023395, 0.08307902],
|
|
|
|
[0.15466331, 0.58852933, 0.12222547],
|
|
|
|
[0.09634614, 0.32878395, 0.72314144],
|
|
|
|
[0.33478686, 0.90847926, 0.7200962],
|
|
|
|
[0.43667344, 0.89458958, 0.79410908],
|
|
|
|
[0.86021331, 0.74491442, 0.17553863],
|
|
|
|
[0.24608494, 0.81338371, 0.94674765],
|
|
|
|
[0.95049303, 0.7048092, 0.00136638],
|
|
|
|
[0.76948281, 0.68783512, 0.32643749],
|
|
|
|
[0.71264968, 0.31715414, 0.04503927],
|
|
|
|
[0.67658896, 0.87968185, 0.24830665],
|
|
|
|
[0.91757353, 0.43174359, 0.15143586],
|
|
|
|
[0.10031278, 0.21650888, 0.20617715],
|
|
|
|
[0.31145253, 0.42564143, 0.82160644],
|
|
|
|
[0.33728051, 0.02122986, 0.58961086],
|
|
|
|
[0.55742861, 0.45086259, 0.0339346],
|
|
|
|
[0.83944051, 0.07554409, 0.73237267],
|
|
|
|
[0.28622189, 0.93891353, 0.97081532],
|
|
|
|
[0.07452692, 0.26369305, 0.51839762],
|
|
|
|
[0.91591797, 0.3835495, 0.29011115],
|
|
|
|
[0.24546868, 0.17874658, 0.85588882],
|
|
|
|
[0.84364567, 0.31218009, 0.41344904],
|
|
|
|
[0.93392602, 0.24509139, 0.93246707],
|
|
|
|
[0.20580613, 0.16305066, 0.38486389],
|
|
|
|
[0.77578281, 0.27310245, 0.95609815],
|
|
|
|
[0.00370816, 0.40453193, 0.32601065],
|
|
|
|
[0.21930075, 0.79297581, 0.94187337],
|
|
|
|
[0.13111444, 0.38307526, 0.32933646],
|
|
|
|
[0.10306371, 0.36997191, 0.60914258],
|
|
|
|
[0.96855498, 0.21089616, 0.6435083],
|
|
|
|
[0.83471316, 0.79715708, 0.03474061],
|
|
|
|
[0.55270026, 0.38234099, 0.89334462],
|
|
|
|
[0.28173849, 0.19882042, 0.95592923],
|
|
|
|
[0.9630497, 0.93710501, 0.70561437],
|
|
|
|
[0.47611466, 0.21464158, 0.50786959],
|
|
|
|
[0.23331347, 0.9761466, 0.73431474],
|
|
|
|
[0.94579501, 0.46992808, 0.03218472],
|
|
|
|
[0.17577515, 0.61328706, 0.32227818],
|
|
|
|
[0.75779661, 0.24237457, 0.40846148],
|
|
|
|
[0.92501852, 0.20410589, 0.28073772],
|
|
|
|
[0.18170791, 0.8875172, 0.78128148],
|
|
|
|
[0.20124639, 0.22886876, 0.12600118],
|
|
|
|
[0.39468634, 0.18253737, 0.7390365],
|
|
|
|
[0.34245405, 0.99476387, 0.58159635],
|
|
|
|
[0.7737318, 0.91763945, 0.61194467],
|
|
|
|
[0.96070121, 0.54303532, 0.05872886],
|
|
|
|
[0.68985712, 0.99637817, 0.55560533],
|
|
|
|
[0.21811612, 0.89386968, 0.55200341],
|
|
|
|
[0.4552208, 0.05857899, 0.41889865],
|
|
|
|
[0.93187715, 0.61828802, 0.8740629],
|
|
|
|
[0.37116261, 0.0428519, 0.13072285],
|
|
|
|
[0.67130489, 0.16608917, 0.12878922],
|
|
|
|
[0.69399329, 0.37540026, 0.31567149],
|
|
|
|
[0.38418059, 0.46135405, 0.15717435],
|
|
|
|
[0.94239707, 0.44273506, 0.60716173],
|
|
|
|
[0.96713791, 0.3901548, 0.82383389],
|
|
|
|
[0.66637547, 0.03049291, 0.78648235],
|
|
|
|
[0.562099, 0.25301092, 0.11482821],
|
|
|
|
[0.91885261, 0.22114962, 0.9477343],
|
|
|
|
[0.06975133, 0.18984311, 0.46842715],
|
|
|
|
[0.23183627, 0.16290566, 0.20422474],
|
|
|
|
[0.74607009, 0.81432599, 0.93743623],
|
|
|
|
[0.08408181, 0.64304719, 0.52870003],
|
|
|
|
[0.52313379, 0.56851118, 0.97029994],
|
|
|
|
[0.40404252, 0.42914926, 0.71555722],
|
|
|
|
[0.24164323, 0.09496647, 0.17322004],
|
|
|
|
[0.53131532, 0.13581022, 0.00788667],
|
|
|
|
[0.25385093, 0.98039973, 0.19381316],
|
|
|
|
[0.9777975, 0.11521155, 0.89913189],
|
|
|
|
[0.38771861, 0.60122069, 0.92483477],
|
|
|
|
[0.66609429, 0.42140963, 0.08445248],
|
|
|
|
[0.71856321, 0.19985436, 0.48983267],
|
|
|
|
[0.06740929, 0.42607122, 0.3529735],
|
|
|
|
[0.59083395, 0.72671423, 0.32559052],
|
|
|
|
[0.26966731, 0.33961308, 0.82656335],
|
|
|
|
[0.02098692, 0.34420313, 0.26433034],
|
|
|
|
[0.35362049, 0.97896481, 0.49294809],
|
|
|
|
[0.55803499, 0.18464294, 0.38855053],
|
|
|
|
[0.61999216, 0.20653904, 0.72348067],
|
|
|
|
[0.24919766, 0.94458862, 0.56890351],
|
|
|
|
[0.33451024, 0.09870597, 0.20349743],
|
|
|
|
[0.03997653, 0.77556343, 0.55906886],
|
|
|
|
[0.19844905, 0.97066654, 0.0947607],
|
|
|
|
[0.21647074, 0.70501714, 0.98943752],
|
|
|
|
[0.36327741, 0.27626315, 0.19679191],
|
|
|
|
[0.31314865, 0.69989371, 0.67317244],
|
|
|
|
[0.11291077, 0.76223893, 0.37040089],
|
|
|
|
[0.54373073, 0.11107458, 0.41933662],
|
|
|
|
[0.8635781, 0.40625122, 0.25881347],
|
|
|
|
[0.49214071, 0.02973199, 0.47114731],
|
|
|
|
[0.11063395, 0.0785247, 0.68826556],
|
|
|
|
[0.38529997, 0.24535792, 0.64369743],
|
|
|
|
[0.89203426, 0.41012351, 0.43338004],
|
|
|
|
[0.33814953, 0.29160113, 0.83180502],
|
|
|
|
[0.02544934, 0.91215644, 0.32594593],
|
|
|
|
[0.33083547, 0.71419671, 0.85274087],
|
|
|
|
[0.1738073, 0.32457954, 0.81578455],
|
|
|
|
[0.46654504, 0.29990516, 0.62269581],
|
|
|
|
[0.49141287, 0.26177349, 0.71859512],
|
|
|
|
[0.60697484, 0.42974833, 0.96818834],
|
|
|
|
[0.4436999, 0.63759341, 0.96983757],
|
|
|
|
[0.68034263, 0.0496755, 0.37760427],
|
|
|
|
[0.44873269, 0.1945993, 0.93898669],
|
|
|
|
[0.66985281, 0.77169004, 0.36142104],
|
|
|
|
[0.0427501, 0.73599474, 0.53847394],
|
|
|
|
[0.21059092, 0.50417752, 0.52391543],
|
|
|
|
[0.20209459, 0.1756901, 0.45672261],
|
|
|
|
[0.13643808, 0.25580508, 0.0787837],
|
|
|
|
[0.18174059, 0.0223447, 0.65367998],
|
|
|
|
[0.98336221, 0.65694763, 0.83103143],
|
|
|
|
[0.9830224, 0.51615169, 0.8288809],
|
|
|
|
[0.13083014, 0.50663014, 0.90983251],
|
|
|
|
[0.6154281, 0.64306189, 0.00885983],
|
|
|
|
[0.26053027, 0.1554793, 0.40150358],
|
|
|
|
[0.12591316, 0.79604957, 0.07693421],
|
|
|
|
[0.41477177, 0.71159651, 0.50707063],
|
|
|
|
[0.78376847, 0.84551014, 0.53747736],
|
|
|
|
[0.70773156, 0.73616558, 0.3637048],
|
|
|
|
[0.53776988, 0.07433763, 0.936527],
|
|
|
|
[0.86944916, 0.39992012, 0.92254959],
|
|
|
|
[0.05630026, 0.01791795, 0.62740583],
|
|
|
|
[0.40351985, 0.83055541, 0.70540442],
|
|
|
|
[0.10182439, 0.12159086, 0.50588464],
|
|
|
|
[0.29595489, 0.28525878, 0.76346871],
|
|
|
|
[0.71341194, 0.60528709, 0.93002066],
|
|
|
|
[0.85251724, 0.11283638, 0.40228023],
|
|
|
|
[0.5369384, 0.83998987, 0.64159782],
|
|
|
|
[0.22010528, 0.25704874, 0.45133717],
|
|
|
|
[0.96073733, 0.02917483, 0.11021407],
|
|
|
|
[0.66470936, 0.2543426, 0.16774723],
|
|
|
|
[0.85472435, 0.81679857, 0.64283554],
|
|
|
|
[0.93084248, 0.05498681, 0.23316931],
|
|
|
|
[0.14472865, 0.80262832, 0.17124129],
|
|
|
|
[0.9916499, 0.97815088, 0.07822134],
|
|
|
|
[0.34558517, 0.86128979, 0.21907593],
|
|
|
|
[0.84222848, 0.30073271, 0.16096662],
|
|
|
|
[0.64176759, 0.96332217, 0.78959936],
|
|
|
|
[0.44587895, 0.84707747, 0.48030732],
|
|
|
|
[0.7153462, 0.944774, 0.21827914],
|
|
|
|
[0.73949176, 0.46190477, 0.96702683],
|
|
|
|
[0.10139912, 0.80330046, 0.41186091],
|
|
|
|
[0.8520084, 0.21533308, 0.23828073],
|
|
|
|
[0.43675649, 0.20624996, 0.64431689],
|
|
|
|
[0.72370878, 0.32766957, 0.51724073],
|
|
|
|
[0.85205809, 0.70602517, 0.1108745],
|
|
|
|
[0.10977224, 0.07025295, 0.03509978],
|
|
|
|
[0.95086723, 0.49190517, 0.59316876],
|
|
|
|
[0.57188237, 0.77571896, 0.62774499],
|
|
|
|
[0.16442446, 0.34759559, 0.22658688],
|
|
|
|
[0.32992933, 0.49370406, 0.46001001],
|
|
|
|
[0.23288387, 0.51008221, 0.24587335],
|
|
|
|
[0.12048238, 0.6855076, 0.28886568],
|
|
|
|
[0.56596305, 0.13641408, 0.2019669],
|
|
|
|
[0.81056696, 0.91216033, 0.75908198],
|
|
|
|
[0.12431172, 0.87461504, 0.90107209],
|
|
|
|
[0.72710997, 0.73072723, 0.91791119],
|
|
|
|
[0.13362331, 0.11721506, 0.72221538],
|
|
|
|
[0.77043908, 0.92971463, 0.46958254],
|
|
|
|
[0.46340176, 0.42597355, 0.7213842],
|
|
|
|
[0.78940369, 0.35448366, 0.92736836],
|
|
|
|
[0.39865943, 0.96575355, 0.5712371],
|
|
|
|
[0.41423055, 0.87522634, 0.94341464],
|
|
|
|
[0.05626076, 0.9857534, 0.12112509],
|
|
|
|
[0.81038085, 0.11960624, 0.57917062],
|
|
|
|
[0.34173533, 0.70574238, 0.51226698],
|
|
|
|
[0.25354646, 0.38161071, 0.91478192],
|
|
|
|
[0.86059943, 0.67915162, 0.88803455],
|
|
|
|
[0.62791603, 0.84240246, 0.87601223],
|
|
|
|
[0.60171245, 0.7838197, 0.15441774],
|
|
|
|
[0.30612605, 0.288499, 0.37624089],
|
|
|
|
[0.42561177, 0.16875408, 0.27776854],
|
|
|
|
[0.50773983, 0.54090138, 0.68428426],
|
|
|
|
[0.59090892, 0.59431925, 0.7664529],
|
|
|
|
[0.6637647, 0.94450059, 0.91482609],
|
|
|
|
[0.63547302, 0.89001459, 0.31504339],
|
|
|
|
[0.18365499, 0.69441715, 0.50540082],
|
|
|
|
[0.69513575, 0.4049632, 0.04723823],
|
|
|
|
[0.1730079, 0.29820322, 0.78659065],
|
|
|
|
[0.17936977, 0.24757782, 0.25566745],
|
|
|
|
[0.7494031, 0.23450292, 0.61418451],
|
|
|
|
[0.93079483, 0.07158984, 0.77112491],
|
|
|
|
[0.17375316, 0.00434481, 0.18001187],
|
|
|
|
[0.69221448, 0.91607633, 0.49648949],
|
|
|
|
[0.73228473, 0.07902899, 0.91414016],
|
|
|
|
[0.2715875, 0.00537517, 0.25924226],
|
|
|
|
[0.60551082, 0.00203278, 0.8342505],
|
|
|
|
[0.28260451, 0.72855281, 0.50077359],
|
|
|
|
[0.03714048, 0.09152358, 0.88751203],
|
|
|
|
[0.5437692, 0.22756966, 0.23029045],
|
|
|
|
[0.37431933, 0.42417501, 0.36430759],
|
|
|
|
[0.01871229, 0.50833122, 0.82162251],
|
|
|
|
[0.11625914, 0.06043773, 0.36838711],
|
|
|
|
[0.01337432, 0.6992513, 0.80730947],
|
|
|
|
[0.15717699, 0.38495907, 0.62114137],
|
|
|
|
[0.65804659, 0.31686814, 0.69417966],
|
|
|
|
[0.51047389, 0.15836551, 0.3056621],
|
|
|
|
[0.85970555, 0.35295088, 0.58269611],
|
|
|
|
[0.88544582, 0.75750147, 0.62362294],
|
|
|
|
[0.58059282, 0.5607713, 0.38761756],
|
|
|
|
[0.93174565, 0.0880642, 0.63259382],
|
|
|
|
[0.17157992, 0.6705021, 0.51909432],
|
|
|
|
[0.22373396, 0.03467502, 0.3721201],
|
|
|
|
[0.60660237, 0.8528354, 0.37103747],
|
|
|
|
[0.58407372, 0.02041027, 0.65823109],
|
|
|
|
[0.86096154, 0.08968342, 0.48279398],
|
|
|
|
[0.86294388, 0.03192676, 0.63360261],
|
|
|
|
[0.94357806, 0.42546359, 0.52269227],
|
|
|
|
[0.31936848, 0.39768567, 0.28055349],
|
|
|
|
[0.18478408, 0.93065093, 0.85126641],
|
|
|
|
[0.3972638, 0.78642233, 0.55253501],
|
|
|
|
[0.46253344, 0.60706868, 0.87312914],
|
|
|
|
[0.28879569, 0.26447728, 0.15471909],
|
|
|
|
[0.15535013, 0.54365656, 0.66630719],
|
|
|
|
[0.03679052, 0.04122836, 0.99386976],
|
|
|
|
[0.03865675, 0.06730606, 0.3729822],
|
|
|
|
[0.90150168, 0.5869925, 0.27952432],
|
|
|
|
[0.65814925, 0.76410841, 0.96997008],
|
|
|
|
[0.4755215, 0.16492889, 0.69793854],
|
|
|
|
[0.02279169, 0.27215298, 0.50978461],
|
|
|
|
[0.45190481, 0.2776297, 0.98750568],
|
|
|
|
[0.30104043, 0.93801872, 0.47975998],
|
|
|
|
[0.7076951, 0.22246813, 0.83936408],
|
|
|
|
[0.14980177, 0.65920645, 0.20376425],
|
|
|
|
[0.10720073, 0.9062239, 0.89901169],
|
|
|
|
[0.30106942, 0.17128976, 0.29945017],
|
|
|
|
[0.16100374, 0.10661632, 0.44406895],
|
|
|
|
[0.62211603, 0.85544381, 0.68883097],
|
|
|
|
[0.81390745, 0.10344291, 0.82797911],
|
|
|
|
[0.74968601, 0.10944283, 0.88031186],
|
|
|
|
[0.03325492, 0.81191442, 0.36137953],
|
|
|
|
[0.83220682, 0.97172149, 0.26576991],
|
|
|
|
[0.78293308, 0.776755, 0.33488645],
|
|
|
|
[0.79396044, 0.08842506, 0.84259763],
|
|
|
|
[0.88773506, 0.4943853, 0.12641415],
|
|
|
|
[0.33785815, 0.01824867, 0.94383229],
|
|
|
|
[0.32413426, 0.67792641, 0.00463208],
|
|
|
|
[0.97619351, 0.00532645, 0.16781261],
|
|
|
|
[0.76452716, 0.67209172, 0.2567693],
|
|
|
|
[0.61373567, 0.8871698, 0.75440849],
|
|
|
|
[0.16862569, 0.32751364, 0.76250623],
|
|
|
|
[0.21765688, 0.98640182, 0.72030662],
|
|
|
|
[0.43696906, 0.08519061, 0.94079731],
|
|
|
|
[0.08835589, 0.2373961, 0.54288893],
|
|
|
|
[0.6279005, 0.31293357, 0.03806711],
|
|
|
|
[0.71341161, 0.90345879, 0.14919494],
|
|
|
|
[0.43596339, 0.69278417, 0.0965784],
|
|
|
|
[0.45435632, 0.17277761, 0.99053168],
|
|
|
|
[0.6960454, 0.17637096, 0.61539214],
|
|
|
|
[0.82716396, 0.54943169, 0.03758487],
|
|
|
|
[0.53195222, 0.91652576, 0.92831562],
|
|
|
|
[0.75149974, 0.62818321, 0.80958899],
|
|
|
|
[0.03670567, 0.18143246, 0.86393929],
|
|
|
|
[0.11485492, 0.79968611, 0.07201558],
|
|
|
|
[0.08062457, 0.31179125, 0.93290824],
|
|
|
|
[0.82527949, 0.18090271, 0.64106563],
|
|
|
|
[0.447286, 0.25022195, 0.56647941],
|
|
|
|
[0.19863362, 0.80617187, 0.06572925],
|
|
|
|
[0.43175746, 0.16108247, 0.75522234],
|
|
|
|
[0.01316973, 0.74631943, 0.51056558],
|
|
|
|
[0.20313717, 0.91634448, 0.24087845],
|
|
|
|
[0.917712, 0.71526331, 0.99001249],
|
|
|
|
[0.54028014, 0.57050812, 0.8595398],
|
|
|
|
[0.43446484, 0.61284336, 0.11548015],
|
|
|
|
[0.68278451, 0.65313435, 0.49712984],
|
|
|
|
[0.75271085, 0.82725189, 0.0506682],
|
|
|
|
[0.17755328, 0.50095711, 0.21573992],
|
|
|
|
[0.96089165, 0.55516022, 0.07177346],
|
|
|
|
[0.32105979, 0.54225173, 0.94428941],
|
|
|
|
[0.62227061, 0.17865229, 0.42871283],
|
|
|
|
[0.48226713, 0.78545377, 0.2328346],
|
|
|
|
[0.67426418, 0.51595568, 0.77934149],
|
|
|
|
[0.3697015, 0.81831846, 0.1405187],
|
|
|
|
[0.97626734, 0.53910422, 0.41805266],
|
|
|
|
[0.84236801, 0.9325341, 0.16872927],
|
|
|
|
[0.71954587, 0.36866933, 0.51213825],
|
|
|
|
[0.73248824, 0.50653475, 0.49852426],
|
|
|
|
[0.45786085, 0.59225671, 0.77783857],
|
|
|
|
[0.45112405, 0.93964773, 0.06955641],
|
|
|
|
[0.86839825, 0.66845404, 0.70690132],
|
|
|
|
[0.05206178, 0.74497077, 0.88225339],
|
|
|
|
[0.90845542, 0.34846093, 0.93723415],
|
|
|
|
[0.99199336, 0.07214903, 0.21097323],
|
|
|
|
[0.5342558, 0.61512944, 0.16691965],
|
|
|
|
[0.63044569, 0.00567738, 0.8555198],
|
|
|
|
[0.93664048, 0.72778683, 0.15222559],
|
|
|
|
[0.22239514, 0.46284626, 0.80989851],
|
|
|
|
[0.46653761, 0.22013242, 0.5463167],
|
|
|
|
[0.51726666, 0.42335971, 0.8756811],
|
|
|
|
[0.75179159, 0.16813172, 0.97233992],
|
|
|
|
[0.23497269, 0.94133246, 0.57237437],
|
|
|
|
[0.93631186, 0.52787674, 0.66427539],
|
|
|
|
[0.57702991, 0.98260077, 0.02540918],
|
|
|
|
[0.95736327, 0.51920399, 0.66876236],
|
|
|
|
[0.83621957, 0.7010466, 0.13180337],
|
|
|
|
[0.65654193, 0.02019758, 0.45304077],
|
|
|
|
[0.38621096, 0.10872158, 0.19750442],
|
|
|
|
[0.94383549, 0.58303852, 0.12585456],
|
|
|
|
[0.48858776, 0.48006796, 0.57410043],
|
|
|
|
[0.77481969, 0.77828229, 0.96806169],
|
|
|
|
[0.29087631, 0.94382364, 0.04941028],
|
|
|
|
[0.21331883, 0.67864787, 0.99462551],
|
|
|
|
[0.13216264, 0.34946454, 0.82557447],
|
|
|
|
[0.78817467, 0.55188611, 0.82789715],
|
|
|
|
[0.28726992, 0.90427654, 0.46594568],
|
|
|
|
[0.36720028, 0.17742756, 0.04713435],
|
|
|
|
[0.97144246, 0.35275568, 0.37272179],
|
|
|
|
[0.69123934, 0.47119538, 0.15020057],
|
|
|
|
[0.635319, 0.63940015, 0.81954056],
|
|
|
|
[0.83383869, 0.75306152, 0.18991275],
|
|
|
|
[0.02850231, 0.48516986, 0.19046434],
|
|
|
|
[0.50327008, 0.28464314, 0.54278312],
|
|
|
|
[0.03055014, 0.77251712, 0.87531276],
|
|
|
|
[0.50390999, 0.33447693, 0.44985505],
|
|
|
|
[0.43460422, 0.61835212, 0.36589043],
|
|
|
|
[0.33550543, 0.09574431, 0.90957736],
|
|
|
|
[0.96983762, 0.11537462, 0.94142618],
|
|
|
|
[0.51258962, 0.82681989, 0.26935337],
|
|
|
|
[0.79211841, 0.23207802, 0.60815911],
|
|
|
|
[0.90424295, 0.73187941, 0.99794175],
|
|
|
|
[0.84381799, 0.50563945, 0.2338819],
|
|
|
|
[0.64879475, 0.11428564, 0.65671366],
|
|
|
|
[0.23384312, 0.66965284, 0.19456637],
|
|
|
|
[0.53093166, 0.95852386, 0.98772503],
|
|
|
|
[0.98463144, 0.03103187, 0.86130255],
|
|
|
|
[0.06819395, 0.49299943, 0.06459917],
|
|
|
|
[0.91893265, 0.49085647, 0.52698672],
|
|
|
|
[0.98981069, 0.90960177, 0.54153429],
|
|
|
|
[0.28101046, 0.06888627, 0.84965766],
|
|
|
|
[0.62303017, 0.21383628, 0.98395503],
|
|
|
|
[0.51816527, 0.10226694, 0.2760039],
|
|
|
|
[0.27242839, 0.98456279, 0.43348216],
|
|
|
|
[0.8505522, 0.06138676, 0.92275804],
|
|
|
|
[0.2688598, 0.68773136, 0.63179621]])
|
2011-09-17 18:41:28 -07:00
|
|
|
|
|
|
|
|
|
|
|
class Test(unittest.TestCase):
|
|
|
|
def setUp(self):
|
|
|
|
self.q = exact_me(points, baker_exact_3D)
|
|
|
|
self.g = dgrid(points, self.q)
|
|
|
|
|
|
|
|
def run_point(self, X, extra_points=32):
|
|
|
|
exact = baker_exact_3D(X)
|
|
|
|
answers = []
|
2011-09-27 14:23:42 -07:00
|
|
|
for o in (2, 3, 4, 5):
|
2011-09-17 18:41:28 -07:00
|
|
|
r = self.g.interpolate(X, order=o, extra_points=extra_points)
|
|
|
|
answers.append(improved_answer(r, exact))
|
|
|
|
return answers
|
|
|
|
|
|
|
|
def test_point_1(self):
|
2011-09-27 14:23:42 -07:00
|
|
|
X = [0.2, 0.2, 0.2]
|
2011-09-17 18:41:28 -07:00
|
|
|
answers = self.run_point(X)
|
|
|
|
expected_answers = [True, True, True, False]
|
|
|
|
self.assertEqual(answers, expected_answers)
|
|
|
|
|
|
|
|
def test_point_2(self):
|
2011-09-27 14:23:42 -07:00
|
|
|
X = [0.1, 0.8, 0.9]
|
2011-09-17 18:41:28 -07:00
|
|
|
answers = self.run_point(X)
|
|
|
|
expected_answers = [True, True, True, False]
|
|
|
|
self.assertEqual(answers, expected_answers)
|
|
|
|
|
|
|
|
def test_point_3(self):
|
2011-09-27 14:23:42 -07:00
|
|
|
X = [0.5, 0.5, 0.99999]
|
2011-09-17 18:41:28 -07:00
|
|
|
answers = self.run_point(X)
|
|
|
|
expected_answers = [True, True, True, True]
|
|
|
|
self.assertEqual(answers, expected_answers)
|
|
|
|
|
|
|
|
def test_point_4(self):
|
2011-09-27 14:23:42 -07:00
|
|
|
X = [0.5, 0.5, 0.99999]
|
2011-09-17 18:41:28 -07:00
|
|
|
answers = self.run_point(X, extra_points=64)
|
|
|
|
expected_answers = [True, True, True, True]
|
|
|
|
self.assertEqual(answers, expected_answers)
|
|
|
|
|
|
|
|
def test_point_5(self):
|
2011-09-27 14:23:42 -07:00
|
|
|
X = [0.5, 0.5, 0.5]
|
2011-09-17 18:41:28 -07:00
|
|
|
answers = self.run_point(X, extra_points=128)
|
|
|
|
expected_answers = [True, True, True, True]
|
|
|
|
self.assertEqual(answers, expected_answers)
|
|
|
|
|
|
|
|
if __name__ == '__main__':
|
|
|
|
suite = unittest.TestLoader().loadTestsFromTestCase(Test)
|
|
|
|
unittest.TextTestRunner(verbosity=3).run(suite)
|